<?php
return array(
            "client"=>array(
              "authorize_endpoint"=>'https://graph.renren.com/oauth/authorize',//after authorize point to
              "client_id"=>"4acf5fd6e5b84a9b86ce858f83aff164",//change
              "client_secret"=>"93952b9c873e498ba09d607127fee905",//change
              "token_endpoint"=>"http://localhost/OAuth2-Server/index.php/oauth2/token", //where to get token
            ),
            //other config needed
            "other"=>array(
                "redirect_uri"=>"http://127.0.0.1/renrenapi/accesstoken.php",
            ), 
            'scope'=>"publish_feed,photo_upload",          
);